/*
 * UART.h
 *
 *      Author: Christian
 *       Letztes Update: 11.01.14 Christian | fähler rausmachen
 *
 */

#ifndef UART_H_
#define UART_H_

#include <avr/io.h>
#include <avr/interrupt.h>





#define DEBUG_ENABLED

#define SEND_BUFFER_SIZE		64

#define RECEIVE_BUFFER_SIZE		64

extern uint8_t send_buffer[SEND_BUFFER_SIZE];
extern volatile uint8_t receive_buffer[RECEIVE_BUFFER_SIZE];
extern volatile uint8_t received_number;


//Debugging initialisieren
void UARTInit();

void UART_send( uint8_t bytes);

void reset_receive_buffer();
void reset_send_buffer();

#endif /* UART_H_ */
